import Mock from 'mockjs'
// 分类数据
let  {data} = Mock.mock({
    'data|50': [
        {
            'img': '@image("150x150","@color","HELLO")',
            'title': '@ctitle(1-6)',
            'number|1-99000.1-10': 1,
            'des': '@ctitle(8-15)',
            'proid': '@guid',
            'proname':'@ctitle(30, 50)'
        }
    ]
})
Mock.mock('/getClassData', 'get', () => {
    return data
}) 